package com.tarena.lbs.coupon.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("user_coupons")
public class UserCouponsPO implements Serializable {

    private Integer id;
    @TableField("user_id")
    private Integer userId;
    @TableField("coupon_id")
    private Integer couponId;
    @TableField("receive_channel")
    private Integer receiveChannel;

    private Integer status;
    @TableField("create_at")
    private Date createAt;
    @TableField("update_at")
    private Date updateAt;
    @TableField("activity_id")
    private Integer activityId;
    @TableField("coupon_code")
    private String couponCode;
    @TableField("order_no")
    private String orderNo;
    @TableField("used_time")
    private Date usedTime;
    @TableField("coupon_type")
    private Integer couponType;
    @TableField("coupon_value")
    private BigDecimal couponValue;
    @TableField("shop_id")
    private Integer shopId;

    @TableField("coupon_url")
    private String couponUrl;

}